package com.itcast.java.product.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * spu属性值实体类
 *
 * @author xiaobai
 * @date 2021-06-27 19:31:58
 */
@Data
@TableName("pms_product_attr_value")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "PmsProductAttrValueEntity对象", description = "spu属性值")
public class PmsProductAttrValueEntity implements Serializable{

private static final long serialVersionUID=1L;

        @ApiModelProperty(value = "id")
                @TableId(value = "id", type = IdType.AUTO)
                private Long id;

        @ApiModelProperty(value = "商品id")
    @TableField("spu_id")
        private Long spuId;

        @ApiModelProperty(value = "属性id")
    @TableField("attr_id")
        private Long attrId;

        @ApiModelProperty(value = "属性名")
    @TableField("attr_name")
        private String attrName;

        @ApiModelProperty(value = "属性值")
    @TableField("attr_value")
        private String attrValue;

        @ApiModelProperty(value = "顺序")
    @TableField("attr_sort")
        private Integer attrSort;

        @ApiModelProperty(value = "快速展示【是否展示在介绍上；0-否 1-是】")
    @TableField("quick_show")
        private Integer quickShow;

        }